package com.ruoyi.projects.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 森理产品包对象 sl_product
 * 
 * @author yangz
 * @date 2024-10-14
 */
public class SlProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品包id */
    private Long id;

    /**出售件数*/
    private Long saleNum;

    /**是否推荐1推荐，0默认*/
    private String ifTop;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 服务次数 */
    @Excel(name = "服务次数")
    private Integer serviceTimes;

    /** 产品描述 */
    @Excel(name = "产品描述")
    private String productDesc;

    /***产品类型*/
    @Excel(name = "产品类型")
    private String categoryId;

    /** 产品封面图 */
    @Excel(name = "产品封面图")
    private String productImg;
    /** 产品展示图 */
    @Excel(name = "产品展示图")
    private String productShowImg;

    /** 产品收次体验价 */
    @Excel(name = "产品收次体验价")
    private BigDecimal productFirstPrice;

    /** 产品单次价格 */
    @Excel(name = "产品单次价格")
    private BigDecimal productPrice;

    /** 产品套餐价格 */
    @Excel(name = "产品套餐价格")
    private BigDecimal productPackagePrice;

    /** 产品上架状态（0下架，1上架） */
    @Excel(name = "产品上架状态", readConverterExp = "0=下架，1上架")
    private String productFlag;

    public String getProductShowImg() {
        return productShowImg;
    }

    public void setProductShowImg(String productShowImg) {
        this.productShowImg = productShowImg;
    }

    public Integer getServiceTimes() {
        return serviceTimes;
    }

    public void setServiceTimes(Integer serviceTimes) {
        this.serviceTimes = serviceTimes;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }

    public String getIfTop() {
        return ifTop;
    }

    public void setIfTop(String ifTop) {
        this.ifTop = ifTop;
    }

    public Long getSaleNum() {
        return saleNum;
    }

    public void setSaleNum(Long saleNum) {
        this.saleNum = saleNum;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductImg(String productImg) 
    {
        this.productImg = productImg;
    }

    public String getProductImg() 
    {
        return productImg;
    }
    public void setProductFirstPrice(BigDecimal productFirstPrice) 
    {
        this.productFirstPrice = productFirstPrice;
    }

    public BigDecimal getProductFirstPrice() 
    {
        return productFirstPrice;
    }
    public void setProductPrice(BigDecimal productPrice) 
    {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPrice() 
    {
        return productPrice;
    }
    public void setProductPackagePrice(BigDecimal productPackagePrice) 
    {
        this.productPackagePrice = productPackagePrice;
    }

    public BigDecimal getProductPackagePrice() 
    {
        return productPackagePrice;
    }
    public void setProductFlag(String productFlag) 
    {
        this.productFlag = productFlag;
    }

    public String getProductFlag() 
    {
        return productFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productName", getProductName())
            .append("productImg", getProductImg())
            .append("productFirstPrice", getProductFirstPrice())
            .append("productPrice", getProductPrice())
            .append("productPackagePrice", getProductPackagePrice())
            .append("productFlag", getProductFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
